<?php
/**
 * @desc 错误控制器
 * @author yupoxiong<i@yupoxiong.com>
 */

declare (strict_types=1);

namespace app\admin\controller;

use support\Response;

class ErrorController extends AdminBaseController
{
    /**
     * 403 没有权限访问
     */
    public function err403(): Response
    {
        return $this->fetch('error/err403');
    }


    /**
     * 404
     */
    public function err404(): Response
    {
        return $this->fetch('error/err404');
    }


    /**
     * 500
     */
    public function err500(): Response
    {
        return $this->fetch('error/err500');
    }
}
